package iotwisp.school.user.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Data
@EqualsAndHashCode(callSuper = false)
@DynamicUpdate
@Entity
@DiscriminatorValue("api_operate")
public class ApiOperate extends Permission {

	/**
	 * 可操作的command或qo类名
	 */
	@Column(name = "operation")
	private String operation;
}
